package com.ck.ck_back.dao;

import com.ck.ck_back.pojo.History;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HistoryMapper {
    int deleteByPrimaryKey(Integer historyId);

    int insert(History record);

    int insertSelective(History record);

    History selectByPrimaryKey(Integer historyId);

    int updateByPrimaryKeySelective(History record);

    int updateByPrimaryKey(History record);

    int get_history_num(String user_id,int production_id);

    History selectbytwoid(String user_id,int production_id);

    List<History> selectall(String user_id);

}